package com.site.wisdom_construction.entity.personnelModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2021-12-28 
 */
@ApiModel(value ="劳务人员表实体类", description = "ContractWorkers")
public class ContractWorkers {
	/**
	 * 劳务人员表id
	 */
   	@ApiModelProperty(value = "劳务人员表id", name = "id")
	private Integer id;

	/**
	 * 姓名
	 */
   	@ApiModelProperty(value = "姓名", name = "workerName")
	private String workerName;

	/**
	 * 现场拍照
	 */
	@ApiModelProperty(value = "现场拍照", name = "workerPicture")
	private String workerPicture;

	/**
	 * 照片
	 */
   	@ApiModelProperty(value = "照片", name = "workerImg")
	private String workerImg;

	/**
	 * 身份证正面图片
	 */
	@ApiModelProperty(value = "身份证正面图片", name = "workerCardImgZ")
	private String workerCardImgZ;

	/**
	 * 身份证反面图片
	 */
	@ApiModelProperty(value = "身份证反面图片", name = "workerCardImgF")
	private String workerCardImgF;

	/**
	 * 年龄
	 */
   	@ApiModelProperty(value = "年龄", name = "workerAge")
	private Integer workerAge;

	/**
	 * 出生日期
	 */
	@ApiModelProperty(value = "出生日期", name = "birthdate")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date birthdate;

	/**
	 * 性别
	 */
   	@ApiModelProperty(value = "性别", name = "workerSex")
	private String workerSex;

	/**
	 * 名族
	 */
   	@ApiModelProperty(value = "名族", name = "workerNation")
	private String workerNation;

	/**
	 * 身份证号
	 */
   	@ApiModelProperty(value = "身份证号", name = "workerCard")
	private String workerCard;

	/**
	 * 身份证地址
	 */
   	@ApiModelProperty(value = "身份证地址", name = "workerAddress")
	private String workerAddress;

	/**
	 * 省
	 */
	@ApiModelProperty(value = "省", name = "provinceName")
	private String provinceName;

	/**
	 * 市
	 */
	@ApiModelProperty(value = "市", name = "cityName")
	private String cityName;

	/**
	 * 区
	 */
	@ApiModelProperty(value = "区", name = "districtName")
	private String districtName;

	/**
	 * 详细地址
	 */
	@ApiModelProperty(value = "详细地址", name = "detailedAddress")
	private String detailedAddress;

	/**
	 * 二维码
	 */
   	@ApiModelProperty(value = "二维码", name = "workerCode")
	private String workerCode;

	/**
	 * 居住地址
	 */
   	@ApiModelProperty(value = "居住地址", name = "residentialAddress")
	private String residentialAddress;

	/**
	 * 籍贯
	 */
   	@ApiModelProperty(value = "籍贯", name = "workerProvince")
	private String workerProvince;

	/**
	 * 手机号
	 */
   	@ApiModelProperty(value = "手机号", name = "workerPhone")
	private String workerPhone;

	/**
	 * 手机号
	 */
	@ApiModelProperty(value = "密码", name = "password")
	private String password;

	/**
	 * 政治面貌
	 */
   	@ApiModelProperty(value = "政治面貌", name = "politicsStatus")
	private String politicsStatus;

	/**
	 * 紧急联系人
	 */
   	@ApiModelProperty(value = "紧急联系人", name = "sosName")
	private String sosName;

	/**
	 * 紧急联系人手机号
	 */
   	@ApiModelProperty(value = "紧急联系人手机号", name = "sosPhone")
	private String sosPhone;

	/**
	 * 紧急联系人关系
	 */
   	@ApiModelProperty(value = "紧急联系人关系", name = "sosRelation")
	private String sosRelation;

	/**
	 * 入场时间
	 */
   	@ApiModelProperty(value = "入场时间", name = "entryDate")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date entryDate;

	/**
	 * 离场时间
	 */
   	@ApiModelProperty(value = "离场时间", name = "leaveDate")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date leaveDate;

	/**
	 * 项目ID
	 */
	@ApiModelProperty(value = "项目ID", name = "projectId")
	private Integer projectId;

	/**
	 * 项目名称
	 */
	@ApiModelProperty(value = "项目名称", name = "projectName")
	private String projectName;

	/**
	 * 分包单位ID
	 */
   	@ApiModelProperty(value = "分包单位ID", name = "subcontractorsId")
	private Integer subcontractorsId;

	/**
	 * 分包单位名称
	 */
	@ApiModelProperty(value = "分包单位名称", name = "subcontractorsName")
	private String subcontractorsName;

	/**
	 * 工种ID
	 */
   	@ApiModelProperty(value = "工种ID", name = "professionId")
	private Integer professionId;

	/**
	 * 工种名称
	 */
	@ApiModelProperty(value = "工种名称", name = "professionName")
	private String professionName;

	/**
	 * 班组ID
	 */
   	@ApiModelProperty(value = "班组ID", name = "teamId")
	private Integer teamId;

	/**
	 * 工种名称
	 */
	@ApiModelProperty(value = "班组名称名称", name = "teamName")
	private String teamName;

	/**
	 * 发放工资银行名称
	 */
   	@ApiModelProperty(value = "发放工资银行名称", name = "bankName")
	private String bankName;

	/**
	 * 发放工资银行卡号
	 */
   	@ApiModelProperty(value = "发放工资银行卡号", name = "bankCard")
	private String bankCard;

	/**
	 * 工资基数
	 */
   	@ApiModelProperty(value = "工资基数", name = "salary")
	private Double salary;

	/**
	 * 是否是班组长(0:否 1:是)
	 */
   	@ApiModelProperty(value = "是否是班组长(0:否 1:是)", name = "teamStatus")
	private String teamStatus;

	/**
	 * 进场状态(0:离场 1:在场)
	 */
   	@ApiModelProperty(value = "进场状态(0:离场 1:在场)", name = "sceneStatus")
	private String sceneStatus;

	/**
	 * 培训状态(0:未培训 1:已培训)
	 */
   	@ApiModelProperty(value = "培训状态(0:未培训 1:已培训)", name = "trainStatus")
	private String trainStatus;

	/**
	 * 婚姻状态(0:未婚 1:已婚 2:离异 3:丧偶)
	 */
   	@ApiModelProperty(value = "婚姻状态(0:未婚 1:已婚 2:离异 3:丧偶)", name = "maritalStatus")
	private String maritalStatus;

	/**
	 * 在场状态(0:离场 1:在场)
	 */
	@ApiModelProperty(value = "在场状态(0:离场 1:在场)", name = "spotStatus")
	private String spotStatus;

	public ContractWorkers(){ super(); }

	public ContractWorkers(Integer id, String workerName, String workerPicture, String workerImg, String workerCardImgZ, String workerCardImgF, Integer workerAge, Date birthdate, String workerSex, String workerNation, String workerCard, String workerAddress, String provinceName, String cityName, String districtName, String detailedAddress, String workerCode, String residentialAddress, String workerProvince, String workerPhone, String password, String politicsStatus, String sosName, String sosPhone, String sosRelation, Date entryDate, Date leaveDate, Integer projectId, String projectName, Integer subcontractorsId, String subcontractorsName, Integer professionId, String professionName, Integer teamId, String teamName, String bankName, String bankCard, Double salary, String teamStatus, String sceneStatus, String trainStatus, String maritalStatus, String spotStatus) {
		this.id = id;
		this.workerName = workerName;
		this.workerPicture = workerPicture;
		this.workerImg = workerImg;
		this.workerCardImgZ = workerCardImgZ;
		this.workerCardImgF = workerCardImgF;
		this.workerAge = workerAge;
		this.birthdate = birthdate;
		this.workerSex = workerSex;
		this.workerNation = workerNation;
		this.workerCard = workerCard;
		this.workerAddress = workerAddress;
		this.provinceName = provinceName;
		this.cityName = cityName;
		this.districtName = districtName;
		this.detailedAddress = detailedAddress;
		this.workerCode = workerCode;
		this.residentialAddress = residentialAddress;
		this.workerProvince = workerProvince;
		this.workerPhone = workerPhone;
		this.password = password;
		this.politicsStatus = politicsStatus;
		this.sosName = sosName;
		this.sosPhone = sosPhone;
		this.sosRelation = sosRelation;
		this.entryDate = entryDate;
		this.leaveDate = leaveDate;
		this.projectId = projectId;
		this.projectName = projectName;
		this.subcontractorsId = subcontractorsId;
		this.subcontractorsName = subcontractorsName;
		this.professionId = professionId;
		this.professionName = professionName;
		this.teamId = teamId;
		this.teamName = teamName;
		this.bankName = bankName;
		this.bankCard = bankCard;
		this.salary = salary;
		this.teamStatus = teamStatus;
		this.sceneStatus = sceneStatus;
		this.trainStatus = trainStatus;
		this.maritalStatus = maritalStatus;
		this.spotStatus = spotStatus;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getWorkerName() {
		return workerName;
	}

	public void setWorkerName(String workerName) {
		this.workerName = workerName;
	}

	public String getWorkerPicture() {
		return workerPicture;
	}

	public void setWorkerPicture(String workerPicture) {
		this.workerPicture = workerPicture;
	}

	public String getWorkerImg() {
		return workerImg;
	}

	public void setWorkerImg(String workerImg) {
		this.workerImg = workerImg;
	}

	public String getWorkerCardImgZ() {
		return workerCardImgZ;
	}

	public void setWorkerCardImgZ(String workerCardImgZ) {
		this.workerCardImgZ = workerCardImgZ;
	}

	public String getWorkerCardImgF() {
		return workerCardImgF;
	}

	public void setWorkerCardImgF(String workerCardImgF) {
		this.workerCardImgF = workerCardImgF;
	}

	public Integer getWorkerAge() {
		return workerAge;
	}

	public void setWorkerAge(Integer workerAge) {
		this.workerAge = workerAge;
	}

	public Date getBirthdate() {
		return birthdate;
	}

	public void setBirthdate(Date birthdate) {
		this.birthdate = birthdate;
	}

	public String getWorkerSex() {
		return workerSex;
	}

	public void setWorkerSex(String workerSex) {
		this.workerSex = workerSex;
	}

	public String getWorkerNation() {
		return workerNation;
	}

	public void setWorkerNation(String workerNation) {
		this.workerNation = workerNation;
	}

	public String getWorkerCard() {
		return workerCard;
	}

	public void setWorkerCard(String workerCard) {
		this.workerCard = workerCard;
	}

	public String getWorkerAddress() {
		return workerAddress;
	}

	public void setWorkerAddress(String workerAddress) {
		this.workerAddress = workerAddress;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getDistrictName() {
		return districtName;
	}

	public void setDistrictName(String districtName) {
		this.districtName = districtName;
	}

	public String getDetailedAddress() {
		return detailedAddress;
	}

	public void setDetailedAddress(String detailedAddress) {
		this.detailedAddress = detailedAddress;
	}

	public String getWorkerCode() {
		return workerCode;
	}

	public void setWorkerCode(String workerCode) {
		this.workerCode = workerCode;
	}

	public String getResidentialAddress() {
		return residentialAddress;
	}

	public void setResidentialAddress(String residentialAddress) {
		this.residentialAddress = residentialAddress;
	}

	public String getWorkerProvince() {
		return workerProvince;
	}

	public void setWorkerProvince(String workerProvince) {
		this.workerProvince = workerProvince;
	}

	public String getWorkerPhone() {
		return workerPhone;
	}

	public void setWorkerPhone(String workerPhone) {
		this.workerPhone = workerPhone;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPoliticsStatus() {
		return politicsStatus;
	}

	public void setPoliticsStatus(String politicsStatus) {
		this.politicsStatus = politicsStatus;
	}

	public String getSosName() {
		return sosName;
	}

	public void setSosName(String sosName) {
		this.sosName = sosName;
	}

	public String getSosPhone() {
		return sosPhone;
	}

	public void setSosPhone(String sosPhone) {
		this.sosPhone = sosPhone;
	}

	public String getSosRelation() {
		return sosRelation;
	}

	public void setSosRelation(String sosRelation) {
		this.sosRelation = sosRelation;
	}

	public Date getEntryDate() {
		return entryDate;
	}

	public void setEntryDate(Date entryDate) {
		this.entryDate = entryDate;
	}

	public Date getLeaveDate() {
		return leaveDate;
	}

	public void setLeaveDate(Date leaveDate) {
		this.leaveDate = leaveDate;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public Integer getSubcontractorsId() {
		return subcontractorsId;
	}

	public void setSubcontractorsId(Integer subcontractorsId) {
		this.subcontractorsId = subcontractorsId;
	}

	public String getSubcontractorsName() {
		return subcontractorsName;
	}

	public void setSubcontractorsName(String subcontractorsName) {
		this.subcontractorsName = subcontractorsName;
	}

	public Integer getProfessionId() {
		return professionId;
	}

	public void setProfessionId(Integer professionId) {
		this.professionId = professionId;
	}

	public String getProfessionName() {
		return professionName;
	}

	public void setProfessionName(String professionName) {
		this.professionName = professionName;
	}

	public Integer getTeamId() {
		return teamId;
	}

	public void setTeamId(Integer teamId) {
		this.teamId = teamId;
	}

	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getBankCard() {
		return bankCard;
	}

	public void setBankCard(String bankCard) {
		this.bankCard = bankCard;
	}

	public Double getSalary() {
		return salary;
	}

	public void setSalary(Double salary) {
		this.salary = salary;
	}

	public String getTeamStatus() {
		return teamStatus;
	}

	public void setTeamStatus(String teamStatus) {
		this.teamStatus = teamStatus;
	}

	public String getSceneStatus() {
		return sceneStatus;
	}

	public void setSceneStatus(String sceneStatus) {
		this.sceneStatus = sceneStatus;
	}

	public String getTrainStatus() {
		return trainStatus;
	}

	public void setTrainStatus(String trainStatus) {
		this.trainStatus = trainStatus;
	}

	public String getMaritalStatus() {
		return maritalStatus;
	}

	public void setMaritalStatus(String maritalStatus) {
		this.maritalStatus = maritalStatus;
	}

	public String getSpotStatus() {
		return spotStatus;
	}

	public void setSpotStatus(String spotStatus) {
		this.spotStatus = spotStatus;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", workerName='" + workerName + '\'' +
				", workerPicture='" + workerPicture + '\'' +
				", workerImg='" + workerImg + '\'' +
				", workerCardImgZ='" + workerCardImgZ + '\'' +
				", workerCardImgF='" + workerCardImgF + '\'' +
				", workerAge=" + workerAge +
				", birthdate=" + birthdate +
				", workerSex='" + workerSex + '\'' +
				", workerNation='" + workerNation + '\'' +
				", workerCard='" + workerCard + '\'' +
				", workerAddress='" + workerAddress + '\'' +
				", provinceName='" + provinceName + '\'' +
				", cityName='" + cityName + '\'' +
				", districtName='" + districtName + '\'' +
				", detailedAddress='" + detailedAddress + '\'' +
				", workerCode='" + workerCode + '\'' +
				", residentialAddress='" + residentialAddress + '\'' +
				", workerProvince='" + workerProvince + '\'' +
				", workerPhone='" + workerPhone + '\'' +
				", password='" + password + '\'' +
				", politicsStatus='" + politicsStatus + '\'' +
				", sosName='" + sosName + '\'' +
				", sosPhone='" + sosPhone + '\'' +
				", sosRelation='" + sosRelation + '\'' +
				", entryDate=" + entryDate +
				", leaveDate=" + leaveDate +
				", projectId=" + projectId +
				", projectName='" + projectName + '\'' +
				", subcontractorsId=" + subcontractorsId +
				", subcontractorsName='" + subcontractorsName + '\'' +
				", professionId=" + professionId +
				", professionName='" + professionName + '\'' +
				", teamId=" + teamId +
				", teamName='" + teamName + '\'' +
				", bankName='" + bankName + '\'' +
				", bankCard='" + bankCard + '\'' +
				", salary=" + salary +
				", teamStatus='" + teamStatus + '\'' +
				", sceneStatus='" + sceneStatus + '\'' +
				", trainStatus='" + trainStatus + '\'' +
				", maritalStatus='" + maritalStatus + '\'' +
				", spotStatus='" + spotStatus + '\'' +
				'}';
	}
}
